/*
 * @Author: yangrongxin
 * @Date: 2021-08-19 10:43:28
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-09-13 17:26:12
 */
import request, { Request } from '@/restful/index';

// 获取当前的收藏列表
export const getFavoriteList = async (data: any) => request(Request.Favorite.getFavoriteList, data);

// 清空当前的收藏列表
export const clearFavorite = async (data: any) => request(Request.Favorite.clearFavorite, data);

// 取消其中某一项的收藏
export const deleteFavorite = async (data: any) => request(Request.Favorite.deleteFavorite, data);

// 获取当前宣教的收藏列表
export const getArticleFavoriteList = async (data: any) => request(Request.Favorite.getArticleFavoriteList, data);
